package com.dingwen.treasure.open.api.tx.rainbow.config;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * 天行数据彩虹屁配置
 *
 * @author dingwen
 * @date 2022/12/29
 */
@Configuration(proxyBeanMethods = false)
@ConfigurationProperties(prefix = "treasure.tx.rainbow")
@RefreshScope
@Getter
@Setter
@Slf4j
public class TxRainbowConfig {

    /**
     * 彩虹屁URL
     */
    private String rainbowUrl = "https://apis.tianapi.com/caihongpi/index";


    private String key = "a176273c161308ae82a8c770eb7324c2";
}
